<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:form action="/customersignup.do">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Airline Systems</title>
	
	</head>

	<body>

	<center>
	<h1>Please enter the details</h1>
		
			
	<h4 style="color: red"><html:errors /></h4>
	<bean:write name="createCustomerForm" property="error" />
	<br>

	<table border="1" cellspacing="1" bordercolor="blue">
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>First Name*:</TH>
			<td><html:text property="cust.firstName" name="createCustomerForm"></html:text></td>
			<TH ALIGN=LEFT ROWSPAN=1>Last Name*:</TH>
			<td><html:text property="cust.lastName" name="createCustomerForm"></html:text></td>
		</tr>
		<tr>
					<td style="color: black">Password:</td>
					<td><html:text property="cust.password" name="createCustomerForm" /></td></tr>
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>Date of Birth :</TH>
			<td><html:text property="cust.dateOfBirth" name="createCustomerForm" value="MM/dd/yyyy"></html:text></td>
		</tr>
		<tr>
			<TH ALIGN=LEFT colspan=0>Address:</TH>
			<td colspan=4><html:text property="cust.address"
				name="createCustomerForm" size="15"></html:text></td>
		</tr>
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>City:</TH>
			<td><html:text property="cust.city" name="createCustomerForm"></html:text></td>
			<TH ALIGN=LEFT ROWSPAN=1>State:
			<td><html:select property="cust.state" name="createCustomerForm">
				<html:optionsCollection name="createCustomerForm" property="stateList"
					label="label" value="value" />
			</html:select></td>
			
		</tr>
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>Zip Code:</TH>
			<td><html:text property="cust.zipCode" name="createCustomerForm"></html:text></td>
		</tr>
		
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>Nationality :</TH>
			<td><html:text property="cust.nationality" name="createCustomerForm"></html:text></td>
		</tr>
		<tr>
			<TH ALIGN=LEFT ROWSPAN=1>Passport Number* :</TH>
			<td><html:text property="cust.passportNumber" name="createCustomerForm"></html:text></td>
		</tr>
	</table>
	<br>
	<html:submit>SignUp</html:submit></center>

	</body>
</html:form>